/**
 * @program: yygh_parent
 * @ClassName StatisticsServiceImpl
 * @description:
 * @author: zyw
 * @create: 2023-06-13 10:04
 * @Version 1.0
 **/
package com.atguigu.yygh.statistics.service.impl;

import com.atguigu.yygh.order.client.OrderFeignClient;
import com.atguigu.yygh.statistics.service.StatisticsService;
import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class StatisticsServiceImpl implements StatisticsService {

    @Autowired
    private OrderFeignClient orderFeignClient;
    @Override
    public Map<String, Object> getCountMap(OrderCountQueryVo queryVo) {
        Map<String, Object> map = orderFeignClient.statistics(queryVo);
        return map;
    }
}
 
